<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>酒店后台管理系统</title>
    <link href="/resources/hotel/css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/resources/hotel/js/jquery.js"></script>

    <script type="text/javascript">
        $(document).ready(function(){
            $(".click").click(function(){
                $(".tip").fadeIn(200);
            });

            $(".tiptop a").click(function(){
                $(".tip").fadeOut(200);
            });

            $(".sure").click(function(){
                $(".tip").fadeOut(100);
            });

            $(".cancel").click(function(){
                $(".tip").fadeOut(100);
            });

        });
    </script>


</head>


<body>

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">酒店信息管理</a></li>
        <li><a href="#">宣传推广</a></li>
    </ul>
</div>

<div class="rightinfo">

    <div class="tools">

        <ul class="toolbar">
            <li class="click"><span><img src="/resources/hotel/images/t01.png" /></span>添加</li>
        </ul>


       <!-- <ul class="toolbar1">
            <li><span><img src="/resources/hotel/images/t05.png" /></span>设置</li>
        </ul>-->

    </div>


    <table class="tablelist">
        <thead>
        <tr>

            <th>房间名称<i class="sort"><img src="/resources/hotel/images/px.gif" /></i></th>
            <th>联系电话</th>
            <th>联系地址</th>
            <th>图片</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody id="tb">
        <tr>

            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td><a href="#" class="tablelink" id="update">修改</a>     <a href="#" class="tablelink"> 删除</a></td>
        </tr>

        <tr>

            <td></td>
            <td></td>
            <td></td>
            <td></td>

            <td><a href="#" class="tablelink">查看</a>     <a href="#" class="tablelink">删除</a></td>
        </tr>

        <tr>

            <td>20130906</td>
            <td>3</td>
            <td>user</td>
            <td>江苏无锡</td>
            <td><a href="#" class="tablelink">查看</a>     <a href="#" class="tablelink">删除</a></td>
        </tr>

        <tr>

            <td>20130905</td>
            <td>4</td>
            <td>admin</td>
            <td>北京市</td>
            <td><a href="#" class="tablelink">查看</a>     <a href="#" class="tablelink">删除</a></td>
        </tr>

        <tr>

            <td>20130904</td>
            <td>5</td>
            <td></td>
            <td>江苏南京</td>
            <td><a href="#" class="tablelink">查看</a>     <a href="#" class="tablelink">删除</a></td>
        </tr>

        <tr>

            <td>20130903</td>
            <td>6</td>
            <td>user</td>
            <td>广东深圳</td>
            <td><a href="#" class="tablelink">查看</a>     <a href="#" class="tablelink">删除</a></td>
        </tr>

        <tr>

            <td>20130902</td>
            <td>7</td>
            <td>admin</td>
            <td>湖南长沙</td>
            <td><a href="#" class="tablelink">查看</a>     <a href="#" class="tablelink">删除</a></td>
        </tr>

        <tr>

            <td>20130901</td>
            <td>8</td>
            <td>admin</td>
            <td>江苏南京</td>
            <td><a href="#" class="tablelink">查看</a>     <a href="#" class="tablelink">删除</a></td>
        </tr>

        <tr>

            <td>20130900</td>
            <td>9</td>
            <td></td>
            <td>山东滨州</td>
            <td><a href="#" class="tablelink">查看</a>     <a href="#" class="tablelink">删除</a></td>
        </tr>
        </tbody>
    </table>


    <div class="pagin">
        <div class="message">共<i class="blue">1256</i>条记录，当前显示第&nbsp;<i class="blue">2&nbsp;</i>页</div>
        <ul class="paginList">
            <li class="paginItem"><a href="javascript:;"><span class="pagepre"></span></a></li>
            <li class="paginItem"><a href="javascript:;">1</a></li>
            <li class="paginItem current"><a href="javascript:;">2</a></li>
            <li class="paginItem"><a href="javascript:;">3</a></li>
            <li class="paginItem"><a href="javascript:;">4</a></li>
            <li class="paginItem"><a href="javascript:;">5</a></li>
            <li class="paginItem more"><a href="javascript:;">...</a></li>
            <li class="paginItem"><a href="javascript:;">10</a></li>
            <li class="paginItem"><a href="javascript:;"><span class="pagenxt"></span></a></li>
        </ul>
    </div>


    <div class="tip">
        <div class="tiptop"><span>提示信息</span><a></a></div>

        <div class="tipinfo">
            <span><img src="/resources/hotel/images/ticon.png" /></span>
            <div class="tipright">
                <p>房间名称：</p><input name="" type="text" class="dfinput" />
                <p>联系电话：</p><input name="" type="text" class="dfinput" />
                <p>联系地址：</p><input name="" type="text" class="dfinput" />
                <p>图片：</p><input name="" type="file" />
            </div>
        </div>

        <div class="tipbtn">
            <input name="" type="button"  class="sure" value="确定" />&nbsp;
            <input name="" type="button"  class="cancel" value="取消" />
        </div>

    </div>

</div>

<div class="updatediv" style="text-align:center;line-height:80px;height: 450px;width: 400px;background-color: coral;position: absolute;top:80px;left:450px;display: none;opacity: 0.9;">
    <p>房间名称：</p><input name="" type="text" class="dfinput" />
    <p>联系电话：</p><input name="" type="text" class="dfinput" />
    <p>联系地址：</p><input name="" type="text" class="dfinput" />
    <li><a href="#" class="ko" style="font-size:20px;">确定</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" class="ko" style="font-size:20px;">取消</a></li>

</div>

<script type="text/javascript">
    $("#update").click(function () {
        $(".updatediv").css("display","block");
    });
    $(".ko").click(function () {
        $(".updatediv").css("display","none");
    })


</script>
<script type="text/javascript">
    $('.tablelist tbody tr:odd').addClass('odd');
</script>


</body>
</html>
